package com.ruoyi.userr.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.ibatis.type.Alias;

/**
 * 课程分类对象 course_categories
 * 
 * @author ruoyi
 * @date 2025-08-19
 */
@Alias("UserCourseCategories")
public class CourseCategories extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分类唯一ID */
    @Excel(name = "分类唯一ID")
    private String id;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String categoryName;

    /** 排序优先级 */
    @Excel(name = "排序优先级")
    private String sortOrder;

    /** 状态（0-正常，1-禁用） */
    @Excel(name = "状态", readConverterExp = "0=-正常，1-禁用")
    private Integer status;

    /** 是否删除：0正常 1删除 */
    private Integer del;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }

    public void setSortOrder(String sortOrder) 
    {
        this.sortOrder = sortOrder;
    }

    public String getSortOrder() 
    {
        return sortOrder;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setDel(Integer del) 
    {
        this.del = del;
    }

    public Integer getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("categoryName", getCategoryName())
            .append("sortOrder", getSortOrder())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("del", getDel())
            .toString();
    }
}
